package pokerGame.pokerDeck;

public enum Value {
	ACE,
	TWO,
	THREE,
	FOUR,
	FIVE,
	SIX,
	SEVEN,
	EIGHT,
	NINE,
	TEN,
	JACK,
	QUEEN,
	KING;
	//,JOKER;
	
	public String toString() {
		switch(this) {
			case ACE: return "ace";
			case JACK: return "jack";
			case QUEEN: return "queen";
			case KING: return "king";
			//case JOKER: return "joker";
			default: 
				StringBuffer sb = new StringBuffer();
				sb.append(this.ordinal() + 1);
				return sb.toString();
		}
	}
};